﻿namespace ClassyBlog.Web
{
    using System.Collections.Generic;

    using DomainObjects;

    public class TaggedPostList : PagedList<Post>
    {
        public TaggedPostList(
            int? currentPage,
            int total,
            int pageSize,
            IEnumerable<Post> list,
            Tag tag) : base(currentPage, total, pageSize, list)
        {
            Tag = tag;
        }

        public Tag Tag { get; private set; }
    }
}